<template>
  <div>
    第二个组件
  </div>
</template>

<script>
export default {
  name: "B",
  inject: ["ParentData"],
  created() {
    console.log("this.ParentData:",this.ParentData.handleSelect(1,2))
  }
}
</script>

<style scoped>

</style>